package store.lunangangster.bpmn.model.definition;

import store.lunangangster.bpmn.model.Message;

public class MessageEventDefinition extends EventDefinition {

  protected String messageRef;
  protected Message message;

  public String getMessageRef() {
    return messageRef;
  }

  public void setMessageRef(String messageRef) {
    this.messageRef = messageRef;
  }

  public Message getMessage() {
    return message;
  }

  public void setMessage(Message message) {
    this.message = message;
  }

  @Override
  public String getModelType() {
    return "MESSAGE_EVENT_DEFINITION";
  }

}
